Maybe it does not work. Then how to quit Share Extension after its operation finished?
The "returningItems" parameters are referring to the output object(s), including any changes written to it. If this doesn't apply to your extension and you want to exit cleanly, just return "nil":
self.extensionContext!.completeRequest(returningItems: nil, completionHandler: nil)
Andreas
Topic:
Programming Languages
SubTopic:
Swift
Tags: